<template>
    <div>
        <p>用户登陆中...获取参数：{{ $route.query }}</p>
        <button @click="goRegist">跳转到用户注册</button>
    </div>
</template>

<script>
export default {
    mounted(){
        console.log(this.$route)
    },
    methods:{
        goRegist(){
            // console.log(this.$router)
            this.$router.push('/user/regist/aa/20/male')
        }
    }
}
</script>

<style>

</style>